package com.ljb.commlibrary.permission;

import java.util.List;

/**
 * Created by ljb on 2018/5/2.
 */

public interface PermissionCallBack {
    /**
     * 权限请求成功
     *
     * @param permissions
     */
    void onPermissionSucess(List<String> permissions);

    /**
     * 权限请求失败
     *
     * @param permissions
     */
    void onPermissionFaild(List<String> permissions);

    /**
     * 多次拒绝后,提示用户打开设置界面授权,用户取消的回调
     * @param permissions
     */
    void onPermissionSettingCancle(List<String> permissions);
}
